import router from '@system.router';
export default {
    data: {
        title: "",
        messageInfo:[1,2,3,4,5,6,7,8,9,10,11,12],
        showInfo:false
    },
    onInit() {
        this.title = "Hello World";
    },
    onShow(){
        if(this.messageInfo.length == 0){
            this.showInfo=false;
        }
        else{
            this.showInfo=true;
        }
    },
    back(){
        router.push({
            uri: 'pages/home/home',
        });
    }
}
